package com.yihu.dataService.hessian.mongodb.interfaceService;

import com.yihu.article.beans.ArticleContent;
import com.yihu.article.beans.EditorManagerPage;

public interface ArticleHService {
	public int addArticle(String articleJson);
	public int deleteArticle(String id);
	public String getArticleById(String id);	
	public int updateArtileByid(String articleJson);
	public String getArticlesPaging(String conditionJson);
	public int uploadFile(String fileJson);
	public int autoSave(String contentJson);
	public ArticleContent getAutoCotent(String contentJson);
	public EditorManagerPage getAttachmentsPaging(String queryJson);
	public int deleteAttachment(String ids) ;
	public Object auditAticle(String articleId);
}
